package com.lanchetech.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 绑定分享赚商品
 *
 * @TableName share_activity_spu
 */
@Data
@ApiModel(value = "com.lanchetech.entity.ShareActivitySpu")
public class ShareActivitySpu implements Serializable {
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    private Long id;

    /**
     * 分享赚ID
     */
    @ApiModelProperty(value = "分享赚ID")
    private Long shareActivityId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long spuId;

    /**
     * 规格ID
     */
    @ApiModelProperty(value = "规格ID")
    private Long skuId;

    /**
     * 佣金比例
     */
    @ApiModelProperty(value = "佣金比例")
    private BigDecimal commissionScale;

    /**
     * 嗨币比例
     */
    @ApiModelProperty(value = "嗨币比例")
    private BigDecimal hiCoinScale;

    /**
     * 类型 (true:固定金额   false:百分比)
     */
    @ApiModelProperty(value = "类型 (true:固定金额   false:百分比)")
    private Boolean type;

    /**
     * 是否解绑(true:是 false:否)
     */
    @ApiModelProperty(value = "是否解绑(true:是 false:否)")
    private Boolean deleted;

    /**
     * 绑定时间
     */
    @ApiModelProperty(value = "绑定时间")
    private Date created;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updated;

    private static final long serialVersionUID = 1L;

}